<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<header class="main-header">
  <a href="/" class="logo">
    <span class="logo-mini"><b>schedule-console</b></span>
    <span class="logo-lg"><b>schedule-console</b><sub style="font-size:8px">&nbsp;v1.0&nbsp;</sub></span>
  </a>
  <nav class="navbar navbar-static-top" role="navigation">
    <div class="navbar-custom-menu">
      <ul class="nav navbar-nav">
        <li class="dropdown user user-menu">
           <a href="#" class="dropdown-toggle" data-toggle="dropdown">
             <span class="hidden-xs">你好，${user.userName}</span>
           </a>
         </li>
         <li class="messages-menu">
          <a href="javascript:void(0)" onclick="logut()"> <i class="fa fa-power-off"></i> [退出]</a>
        </li>
      </ul>
    </div>
  </nav>
</header>
<script>
function logut(){
	ui.confirm('确定退出?',function(){
		ui.to('/logout');
	});
}
</script>